{extend name='admin@main'}
{block name="button"}
<!--{if auth("store/content/add")}-->
<!--<button data-open='{:url("add")}' data-title="添加品牌" class='layui-btn layui-btn-sm layui-btn-primary'>添加品牌</button>-->
<!--&lt;!&ndash;{/if}&ndash;&gt;-->
<!--&lt;!&ndash;{if auth("store/content/remove")}&ndash;&gt;-->
<!--<button data-action='{:url("remove")}' data-rule="id#{key}" class='layui-btn layui-btn-sm layui-btn-primary'>删除品牌</button>-->
<!--{/if}-->
{/block}
{block name="content"}
<div class="think-box-shadow">
    {include file='feedback/index_search'}
    <table class="layui-table margin-top-10" lay-skin="line">
        {notempty name='list'}
        <thead>
        <tr>
            <!--<th class='list-table-check-td think-checkbox'>-->
            <!--<input data-auto-none data-check-target='.list-check-box' type='checkbox'>-->
            <!--</th>-->
            <!--<th class='list-table-sort-td'>-->
            <!--<button type="button" data-reload class="layui-btn layui-btn-xs">刷 新</button>-->
            <!--</th>-->
            <th class='text-center nowrap'>ID</th>
            <th class='text-center nowrap'>用户头像</th>
            <th class='text-center nowrap'>用户昵称</th>
            <th class='text-center nowrap'>手机号</th>
            <th class='text-center nowrap'>反馈内容</th>
            <th class='text-center nowrap'>添加时间</th>
        </tr>
        </thead>
        {/notempty}
        <tbody>
        {foreach $list as $key=>$vo}
        <tr data-dbclick>
            <!--<td class='list-table-check-td think-checkbox'><input class="list-check-box" value='{$vo.id}' type='checkbox'></td>-->
            <td class='text-center nowrap'>
                <div class="inline-block">
                    {$vo.id|default=0}
                </div>
            </td>

            <td class='text-center nowrap'>
                {notempty name='vo.head_img'}
                <img data-tips-image style="width:60px;height:60px" src="{$vo.head_img|default=''}"
                     class="margin-right-5 text-top">
                {/notempty}
            </td>
            <td class='text-center nowrap'>
                <div class="inline-block">
                    {$vo.nickname|default=''}
                </div>
            </td>

            <td class='text-center nowrap'>
                <div class="inline-block">
                    {$vo.phone|default=''}
                </div>
            </td>

            <td class='text-center nowrap'>
                <div class="inline-block" style="width:180px;white-space:normal;word-wrap:break-word;word-break:break-all;">
                    {$vo.content|default=''}
                </div>
            </td>

            <td class='text-center nowrap'>
                <div class="inline-block">
                    {$vo.create_at|default=''}
                </div>
            </td>
        </tr>
        {/foreach}
        </tbody>
    </table>

    {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}

</div>

{/block}
